package com.aimaterials.resource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aimaterials.common.annotation.Excel;
import com.aimaterials.common.core.domain.BaseEntity;

/**
 * 课程信息对象 res_course
 * 
 * @author DaemonSu
 * @date 2020-11-04
 */
public class ResCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String courseId;

    /** 学校id */
    @Excel(name = "学校id")
    private Long schoolId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程类别(01 公共基础课，11 专业基础课，12 专业核心课，13 专业（技能）方向课，21 综合实训课) */
    @Excel(name = "课程类别(01 公共基础课，11 专业基础课，12 专业核心课，13 专业", readConverterExp = "技=能")
    private String courseType;

    /** 删除标记(0:正常,1:删除) */
    private String delFlag;

    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCourseType(String courseType) 
    {
        this.courseType = courseType;
    }

    public String getCourseType() 
    {
        return courseType;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("schoolId", getSchoolId())
            .append("courseName", getCourseName())
            .append("courseType", getCourseType())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
